package com.landtool;


import com.landtool.lanbase.shipping.GetShipData;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
@EnableCaching
public class WebServerApplication {

    private static Logger log = LoggerFactory.getLogger(WebServerApplication.class);

    public static void main(String[] args) {
        log.info("qidong");
        //netty的包，跟es的包冲突，要加这段
        System.setProperty("es.set.netty.runtime.available.processors", "false");
        ConfigurableApplicationContext context = SpringApplication.run(WebServerApplication.class, args);


    }


}
